import request from '/src/utils/request'




// 查询${functionName}列表
export function listAutumnApp(query) {
    return request({
        url: '/tool/AutumnApp/list',
        method: 'post',
        data: query
    })
}

// 查询${functionName}详细
export function getAutumnApp(autumnAppId) {
    return request({
        url: '/tool/AutumnApp/' + autumnAppId,
        method: 'get'
    })
}



// 新增应用
export function addAutumnApp(data) {
    return request({
        url: '/tool/AutumnApp',
        method: 'post',
        data: data
    })
}

// 修改应用
export function updateAutumnApp(data) {
    return request({
        url: '/tool/AutumnApp',
        method: 'put',
        data: data
    })
}

// 删除应用
export function delAutumnApp(autumnAppId) {
    return request({
        url: '/tool/AutumnApp/' + autumnAppId,
        method: 'delete'
    })
}

// 导出应用
export function exportAutumnApp(query) {
    return request({
        url: '/tool/AutumnApp/export',
        method: 'get',
        params: query
    })
}
